//------引入外部$http方式一：在utlis中引入并配置好$http对象后export出来
// import $http from '../utlis/request.js'
// export const swiperDataListGetService = async () => {
// 	let res = await $http.get('/api/public/v1/home/swiperdata');
// 	return res;
// }

//------引入外部$http方式二：在main.js中引入并配置好$http对象后挂载到uni对象的$http属性中
export const swiperDataListGetService = async () => {
	let res = await uni.$http.get('/api/public/v1/home/swiperdata');
	return res;
}

//获取分类导航菜单数据
export const navListDataGetService = async () => {
	let res = await uni.$http.get('/api/public/v1/home/catitems');
	return res;
}

//获取楼层数据
export const floorDataGetService = async () => {
	let res =await uni.$http.get("/api/public/v1/home/floordata");
	return res;
}
